libxl: don't continue to create the domain if the device model is not spawned
authorJulien Grall <julien.grall@citrix.com>
Thu, 17 Jan 2013 13:53:09 +0000 (13:53 +0000)
committerJulien Grall <julien.grall@citrix.com>
Thu, 17 Jan 2013 13:53:09 +0000 (13:53 +0000)
commit3a43d9b747adecd94802fdc57fdfd760bf853651
tree649e9c3d0dd3f879b01f7e835e1cb5c72e477ba2
parent0289e710ca443cd4d8698bcac9203c194e764510
libxl: don't continue to create the domain if the device model is not spawned

When the device model can't be spawned, rc variable is cleared in
device_model_spawn_outcome (libxl_dm.c).
In this case libxl will continue to create the domain and let it between life
and death.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c